//
//  TestAddSubViewWC.m
//  sandbox
//
//  Created by 杨岑 on 5/27/15.
//  Copyright (c) 2015 杨岑. All rights reserved.
//

#import "TestAddSubviewWC.h"

@interface TestAddSubviewWC ()

@end

@implementation TestAddSubviewWC

- (void)windowDidLoad {
    [super windowDidLoad];
    
    NSTextField* t;
    
    t = [[NSTextField alloc] initWithFrame:NSMakeRect(20, 30, 200, 20)];
    [self.window.contentView addSubview:t];
    t = [[NSTextField alloc] initWithFrame:NSMakeRect(20, 80, 200, 20)];
    [self.window.contentView addSubview:t];
}

@end
